home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / Devices / EgretWakeup / EgretWakeUpEqu.a < prev   
Encoding:
Text File  |  1993-11-09  |  1.3 KB  |  42 lines  |  [TEXT/MPS ]

  1.                 Eject
  2. ************************************************************************
  3. ;            EGRET Manager Equates
  4. ;
  5. ;    File:        EgretWakeUp.a
  6. ;
  7. ;    Contains:    Some Equate definitions used by EgretMgr.a 
  8. ;
  9. ;    11/02/93 DTS
  10. ************************************************************************
  11.  
  12.     IF &TYPE('__Includingegretequ__') = 'UNDEFINED' THEN
  13. __Includingegretequ__    SET    1
  14. ;
  15. ;                            Egret parameter block
  16. ;
  17.  
  18. EgretPB        RECORD         0,increment
  19. pbCmdType        ds.b    1                ; command type
  20. pbCmd            ds.b    1                ; Egret command
  21. pbParam            ds.b    4                ; Generic parameter (Addr, Time, etc), if needed for this command
  22. pbByteCnt        ds.w    1                ; # bytes of send/rcv data, if needed for this command
  23. pbBufPtr        ds.l    1                ; ptr to send/receive data, if any
  24. pbFlags            ds.b    1                ; Egrets flags (from response packet)
  25. pbSpareFlags    ds.b    1                ; 
  26. pbResult        ds.w    1                ; result code (if any)
  27. pbCompletion    ds.l    1                ; ptr to completion routine
  28. EgretPBSize        EQU        *
  29.             ENDR
  30.             
  31.  
  32. ;________________________________________________________________________________________________
  33. ;                        Packet types
  34. pseudoPkt        EQU        $0001            ; pseudo commands packet type
  35.  
  36. ;________________________________________________________________________________________________
  37. ;                        Pseudo commands
  38. WrPwrupTime        equ        $0B                ; Set powerup time
  39.  
  40.  
  41.     ENDIF    ; ...already included
  42.